package cc.rengu.redp.bizimpl.csmc.service;

import cc.rengu.redp.bizimpl.csmc.domain.ReconSceneMonitor;
import cc.rengu.redp.bizimpl.csmc.vo.ReconSceneMonitorVO;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author guohaocong
 */
@DS("csmc")
public interface IReconSceneMonitorService extends IService<ReconSceneMonitor> {

    IPage<ReconSceneMonitor> findPage(QueryRequest request, ReconSceneMonitorVO reconSceneMonitorVO);

    @Transactional
    void editReconSceneMonitor(ReconSceneMonitorVO reconSceneMonitorVO) throws RedpException;

    @Transactional
    void saveReconSceneMonitor(ReconSceneMonitorVO reconSceneMonitorVO) throws RedpException;

    void deleteReconSceneMonitor(String... ids);
}
